package com.zx.erp.purchase.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zx.erp.purchase.bean.CProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zx.erp.sys.bean.Users;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者信息
 * @since 2021-11-10
 */
public interface CProductMapper extends BaseMapper<CProduct> {
    public Page<CProduct> selectP(IPage<CProduct> page, CProduct cProduct);
    CProduct selectByPrimaryKey(Integer productId);

    List<CProduct> findbytypeid(Integer typeid);

    List<CProduct> selectAll(CProduct cProduct);
}
